<?php 
require_once(dirname(__FILE__).'/MySQLDomain.php');
class NewsletterDomain extends MySQLDomain {

	public static $CollectionName="newsletter";

	public function __construct($data) {
		parent::__construct($data, NewsletterDomain::$CollectionName, "newsletterID");
	}

	public function getNewsletterID() {
		return $this->getField("newsletterID");
	}
	public function setNewsletterID($newsletterID) {
		$this->setField("newsletterID", $newsletterID);
	}

	public function getEmail() {
		return $this->getField("email");
	}
	public function setEmail($email) {
		$this->setField("email", $email);
	}

}
?>